#ifndef SDK_OHOS_CREATE_OHOSPEERCONNECTION_FACTORY_H_
#define SDK_OHOS_CREATE_OHOSPEERCONNECTION_FACTORY_H_

#include "api/ohos_peer_connection_factory_interface.h"
#include "api/ohos_media_constraints_interface.h"
#include "ohos_video_source_adapter.h"

namespace webrtc {

RTC_EXPORT rtc::scoped_refptr<ohoswebrtc::OHOSPeerConnectionFactoryInterface> CreateOHOSPeerConnectionFactory();

RTC_EXPORT rtc::scoped_refptr<ohoswebrtc::OHOSMediaConstraintsInterface> CreateOHOSMediaConstraints(std::map<std::string, std::string> mandatory, std::map<std::string, std::string> optional);

RTC_EXPORT rtc::scoped_refptr<ohoswebrtc::OHOSVideoTrackSourceAdapter> CreateVideoSourceTrackAdapter(bool is_screen_cast);

RTC_EXPORT ohoswebrtc::OHOSVideoTrackSourceAdapter *GetVideoSourceTrackAdapter(rtc::scoped_refptr<webrtc::VideoTrackSourceInterface> video_track_source);
}

#endif